import { getCategoryAPI } from '@/apis/layout';
import { ref } from 'vue';
import { defineStore } from 'pinia';
export const headerLister = defineStore('category',()=>{
  const headerList = ref([])
  const getCategory = async ()=>{
    const res = await getCategoryAPI()
    headerList.value = res.result
  }
  return{
    getCategory,
    headerList
  }
})
